<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

<%@ page import="castleContent.User" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
body{
	background-image: url("Castle.jpg");
	background-size: 100% 100%;
	color:white;
	text-align: center;
	font-family: calibri;
	font-size: 150%;
	margin-top:30%;
}
div.Map{
	margin-top:-5%;
	margin-left: 70%;

}​
</style>

<script>
	function Battle(){
			
	}
</script>

</head>
<body>
		<%
			User enemy = (User) session.getAttribute("EnemyPlayer");		
		%>		
		<h1> <%=enemy.getName()%>'s Castle</h1>
		<h1 id="Resources">
		Gold :
		<%=enemy.castle.getGoldMine().getAvailableResource()%>
		Food :
		<%=enemy.castle.getFoodFarm().getAvailableResource()%>
		<br> Army : <%=enemy.castle.getBarracks().getPresentArmy()%>
		/<%=enemy.castle.getBarracks().getArmyCapacity()%><br>
		Barbarians : <%= enemy.castle.getBarracks().getBarbarians() %>
		Archers : <%= enemy.castle.getBarracks().getArchers() %>
		Wizards : <%= enemy.castle.getBarracks().getWizzards() %>
		</h1>
		
		<BUTTON onclick="Battle()">Battle</BUTTON>
		
		<div class="Map">
			<a href="Map.jsp"><img src="Arrow.png" height="15%"
			width="40%" />
		</div>
		
</body>
</html>